home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
option.exe
/
THEAPAPP.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-10-25
|
881b
|
43 lines
#if defined( Uses_THeapApp ) && !defined( __THeapApp )
#define __THeapApp
/*---------------------------------------------------------*/
/* */
/* Turbo Vision 1.0 */
/* Copyright (c) 1991 by Borland International */
/* */
/* Class THeapView heap display */
/*---------------------------------------------------------*/
class THeapView : public TView
{
public:
THeapView( TRect& r );
virtual void update();
virtual void draw();
virtual long heapSize();
private:
long oldMem, newMem;
char heapStr[16];
};
class THeapApp : public TApplication
{
public:
THeapApp();
virtual void idle();
protected:
THeapView *heap;
};
#endif